package com.tommy.ddp.grid.skin
{
	import com.tommy.ddp.grid.DdpGrid;
	
	import starling.display.DisplayObject;

	public interface IGridSkin
	{
		function get type():uint; 
		
		function get mc():DisplayObject
		/**
		 * 该格子样式清除后会变成什么样
		 * @return 
		 * 
		 */			
		function get nextTypeByClear():uint
		/**
		 * 附近棋子清除后，影响该格子的样式
		 * @return 
		 * 
		 */		
		function get nextTypeByPunch():uint
			
		function get isAvaliable():Boolean;
		
		function get isCanBefind():Boolean;
		
		function addedAnimate():void
		/**
		 * 消失时的动画
		 * 
		 */		
		function diposeAnimate():void
		/**
		 * 销毁
		 * 
		 */		
		function dispose():void
	}
}